Bug 573067 - Intra-app dnd of text behavior on Windows is wrong
authorTor Lillqvist <tml@iki.fi>
Wed, 11 Mar 2009 14:09:13 +0000 (14:09 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Wed, 11 Mar 2009 14:09:13 +0000 (14:09 +0000)
commite029e0014d65bfb26787fbcf91fa4e7b5d267396
treeb6317f32edb24b40a711da340e8a3690d894b485
parent4d407a73cf5d4ffcdc190f5d24a83458cfd69770
Bug 573067 - Intra-app dnd of text behavior on Windows is wrong

2009-03-11  Tor Lillqvist  <tml@iki.fi>

Bug 573067 - Intra-app dnd of text behavior on Windows is wrong

* gdk/win32/gdkdnd-win32.c (local_send_motion) (gdk_drag_motion):
The default action should be move, not copy. Tweak how the
GdkDragAction fields in GdkDragContexts are changed. Seems to help
the problem.

Add more debugging printout for --gdk-debug=dnd to many functions.

* gdk/win32/gdkmain-win32.c
* gdk/win32/gdkprivate-win32.h: (_gdk_win32_drag_protocol_to_string)
(_gdk_win32_drag_action_to_string): New functions for use in
debugging printouts.

svn path=/trunk/; revision=22522
ChangeLog
gdk/win32/gdkdnd-win32.c
gdk/win32/gdkmain-win32.c
gdk/win32/gdkprivate-win32.h